import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import RouteConfig from './Router/RouteConfig';
import { Provider } from 'react-redux';
import store from './Redux/Store/Store';

store.subscribe(() => { //监听state变化
	//console.log("---",store.getState())
});

ReactDOM.render(
	<Provider store={store}>
		{RouteConfig}
	</Provider>,
	document.body.appendChild(document.createElement('div'))
);
